$OpenBSD: patch-contrib_hiredis_CMakeLists_txt,v 1.2 2017/03/08 17:02:13 sthen Exp $
--- contrib/hiredis/CMakeLists.txt.orig	Sun Mar  5 15:23:13 2017
+++ contrib/hiredis/CMakeLists.txt	Sun Mar  5 15:27:02 2017
@@ -8,9 +8,6 @@ SET(HIREDISSRC	async.c
 SET(HIREDIS_CFLAGS "")
 
 IF(ENABLE_FULL_DEBUG MATCHES "OFF")
-IF("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
-	SET(HIREDIS_CFLAGS "${HIREDIS_CFLAGS} -O3")
-ENDIF()
 ENDIF()
 
 ADD_LIBRARY(rspamd-hiredis STATIC ${HIREDISSRC})
